package com.one.blocks.mvc.enums;

import com.one.blocks.common.enums.CodeMsgEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author linfuxin Created on 2022-02-14 10:40:49
 */
@Getter
@AllArgsConstructor
public enum MvcResponseEnum implements CodeMsgEnum {

    /**
     * 数据不存在
     */
    DATA_NOT_FOUND(10404, "data not found"),

    /**
     * 数据不存在
     */
    JSON_ERROR(60000, "json异常"),
    ;

    private final int code;
    private final String msg;
}
